package com.sevenyear.excelanalyze.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sevenyear.excelanalyze.entity.RainfallInfiltrationRate;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sevenyear.excelanalyze.entity.param.queryConditionParam.RateQueryCondition;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 降雨入渗系数 服务类
 * </p>
 *
 * @author sevenyear
 * @since 2021-08-20
 */
public interface RainfallInfiltrationRateService extends IService<RainfallInfiltrationRate> {

    /**
     * Excel批量导入降雨入渗系数信息
     * @param file
     * @param rainfallInfiltrationRateService
     */
    void insertRainfallInfiltrationRateByExcel(MultipartFile file, RainfallInfiltrationRateService rainfallInfiltrationRateService,PartitionBaseInfoService partitionBaseInfoService);

    /**
     * 手动添加降雨入渗系数信息
     * @param rainfallInfiltrationRate
     * @return
     */
    boolean insertRainfallInfiltrationRateByManual(RainfallInfiltrationRate rainfallInfiltrationRate);

    /**
     * 条件带分页查询降雨入渗系数
     * @param page
     * @param rateQueryCondition
     */
    void queryPageByCondition(Page<RainfallInfiltrationRate> page, RateQueryCondition rateQueryCondition);
}
